package com.entity;

/**
 * Substation entity. @author MyEclipse Persistence Tools
 */

public class Substation implements java.io.Serializable {

	// Fields

	private Integer substationId;
	private String substationNo;
	private String substationName;
	private String voltageGrade;
	private Integer voltageNumber;
	private String substationAddress;
	private Integer substationStatus;

	// Constructors

	/** default constructor */
	public Substation() {
	}

	/** minimal constructor */
	public Substation(String substationNo) {
		this.substationNo = substationNo;
	}

	/** full constructor */
	public Substation(String substationNo, String substationName,
			String voltageGrade, Integer voltageNumber,
			String substationAddress, Integer substationStatus) {
		this.substationNo = substationNo;
		this.substationName = substationName;
		this.voltageGrade = voltageGrade;
		this.voltageNumber = voltageNumber;
		this.substationAddress = substationAddress;
		this.substationStatus = substationStatus;
	}

	// Property accessors

	public Integer getSubstationId() {
		return this.substationId;
	}

	public void setSubstationId(Integer substationId) {
		this.substationId = substationId;
	}

	public String getSubstationNo() {
		return this.substationNo;
	}

	public void setSubstationNo(String substationNo) {
		this.substationNo = substationNo;
	}

	public String getSubstationName() {
		return this.substationName;
	}

	public void setSubstationName(String substationName) {
		this.substationName = substationName;
	}

	public String getVoltageGrade() {
		return this.voltageGrade;
	}

	public void setVoltageGrade(String voltageGrade) {
		this.voltageGrade = voltageGrade;
	}

	public Integer getVoltageNumber() {
		return this.voltageNumber;
	}

	public void setVoltageNumber(Integer voltageNumber) {
		this.voltageNumber = voltageNumber;
	}

	public String getSubstationAddress() {
		return this.substationAddress;
	}

	public void setSubstationAddress(String substationAddress) {
		this.substationAddress = substationAddress;
	}

	public Integer getSubstationStatus() {
		return this.substationStatus;
	}

	public void setSubstationStatus(Integer substationStatus) {
		this.substationStatus = substationStatus;
	}

}